package com.cd.hospital.modules.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.cd.hospital.modules.dao.ExpertVideoAlbumDao;
import com.cd.hospital.modules.entity.ExpertVideoAlbumEntity;
import com.cd.hospital.modules.service.ExpertVideoAlbumService;



@Service("expertVideoAlbumService")
public class ExpertVideoAlbumServiceImpl implements ExpertVideoAlbumService {
	@Autowired
	private ExpertVideoAlbumDao expertVideoAlbumDao;
	
	@Override
	public ExpertVideoAlbumEntity queryObject(Integer id){
		return expertVideoAlbumDao.queryObject(id);
	}
	
	@Override
	public List<ExpertVideoAlbumEntity> queryList(Map<String, Object> map){
		return expertVideoAlbumDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return expertVideoAlbumDao.queryTotal(map);
	}
	
	@Override
	public void save(ExpertVideoAlbumEntity expertVideoAlbum){
		expertVideoAlbumDao.save(expertVideoAlbum);
	}
	
	@Override
	public void update(ExpertVideoAlbumEntity expertVideoAlbum){
		expertVideoAlbumDao.update(expertVideoAlbum);
	}
	
	@Override
	public void delete(Integer id){
		expertVideoAlbumDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		expertVideoAlbumDao.deleteBatch(ids);
	}
	
}
